home *** CD-ROM | disk | FTP | other *** search
/ Internet Info 1994 March / Internet Info CD-ROM (Walnut Creek) (March 1994).iso / networking / applic / NCSA_Telnet / contributions / NCSA_LU_TELNET / MODIFICATIONS < prev    next >
Encoding:
Text File  |  1990-09-03  |  3.9 KB  |  149 lines

  1. Modifications to NCSA Telnet 2.3
  2. ================================
  3. - support for national chars
  4. - printer redirection
  5. - bug fixes
  6.  
  7. By Roland Mansson, Lund University Computing Center, Sweden
  8. roland_m@ldc.lu.se
  9. public domain
  10. 89-12-13
  11.  
  12. (use tabwidth to 8)
  13.  
  14.  
  15. ********
  16. * main *
  17. ********
  18.  
  19. event.c
  20. -------
  21. doKeys:        translate from 8 bit chars to 7 bit chars
  22.         cleaned up and fixed command and option handling (bug fix)
  23. sendmacro:    translate from national to US
  24.  
  25. maclook.c
  26. ---------
  27. main:        call trInit to initialize national char routines
  28.         turn off national chars for console window
  29. putstr:        now saves old VSIw and VSIwn and restore them before exit (bug fix)
  30. putln:        same as in putstr
  31. addport:    sets national chars on or off according to Prefs.national
  32. initconsole:    changed position and scrollback for console window
  33.  
  34. maclook.make
  35. ------------
  36.         added lines for translate.c
  37.         please ignore other changes
  38.                 
  39. menu.c
  40. ------
  41.         added #includes for <Files.h> and <Resources.h>
  42.         added #define EMnational (and renumbered others)
  43. docommand:    changed GetWTitle to GETWTITLE (bug fix)
  44.         added switch-case for EMnational
  45. applAbout:    added check for exsistence of DITL (bug fix)
  46. changeport:    added code for national chars
  47. printPages:    added #defines for ascii codes
  48.         made title (and page #) optional
  49.         prints either text from handle or file
  50.         uses entire printable area
  51.         leaves space for perforator in left margin
  52.         minor bug fixes
  53. printText:    modified printPages call (new parameters etc)
  54. AdjustMenus:    added code for National Chars menu item
  55.  
  56. ncsa.rsrc.r
  57. -----------
  58. DITL 15105    added checkbox for national chars (Preferences dialog)
  59. DLOG 700    made dialog box somewhat larger (Preferences dialog)
  60. DLOG 256    centered window (About dialog)
  61. MENU 258    added National Chars item (Session menu without command keys)
  62. MENU 514    same as in MENU 258 (Session menu with command keys)
  63. TRSL 256    unused tranlation table (1:1 mapping, copy and modify!)
  64. TRSL 257    US 8-bit -> US 7-bit translation table
  65. TRSL 258    US -> National translation table
  66. TRSL 259    National -> US translation table
  67. vers 1&2    Changed NCSA to NCSA/LU
  68.  
  69. netevent.c
  70. ----------
  71. pasteText:    translate to national chars
  72.  
  73. prefs.c
  74. -------
  75.         added #define for PrefNational
  76. PromptPrefs:    added variables and code to take care of National Chars checkbox
  77.  
  78. prefs.h
  79. -------
  80.         increased PREF_Version to 5
  81.         added short national to struct NCSAPrefs
  82.         modified NCSAPrefs and PrefLength
  83.                 
  84. telnet.make & telnet.ncsa.make
  85. ------------------------------
  86.         changed NCSA to NCSA/LU
  87.         added rule for translate.c
  88.         please ignore other changes
  89.                 
  90. translate.c (new file)
  91. ----------------------
  92. trInit:        loads and initializes character translation tables
  93. get_trsl:    gets and checks resources
  94. setup_def_table:creates table with no mapping (used if resource not found)
  95. tr8to7:        converts a char from 8-bit to 7-bit
  96. tr7to8:        converts a char from 7-bit to 8-bit
  97. trbuf8to7:    same as tr8to7, but for a string
  98. trbuf7to8:    same as tr7to8, but for a string
  99. transBuffer:    translates vslin->text to or from national chars 
  100.  
  101.  
  102. ******
  103. * vs *
  104. ******
  105.  
  106. vsdata.h
  107. --------
  108.         added #include for <stdio.h>
  109.         added several fields to struct VSscrn
  110.                 
  111. vsem.c
  112. ------
  113.         added #include for <StdIO.h>, <OSUtils.h> & <Printing.h>
  114.         added extern prRecHdl, theWorld & *normcurs;
  115. VSprON:        new, called at start of printer redirection, opens temp file etc
  116. VSprOFF:    new, called at end of printer redirection, prints, cleans up etc
  117. VSpr:        new, called from VSem when printer redirection is active
  118. VSem:        added code for printer redirection
  119.         translate to national chars
  120.         added check for start of printer redirection
  121.                 
  122. vsinterf.c
  123. ----------
  124. VSnewscreen:    initialize VSIw->prredirect, VSIw->prbuf & VSIw->refNum
  125.  
  126. vsintern.c
  127. ----------
  128.         added #include for <OSUtils.h>
  129.         added extern theWorld
  130. VSIreset:    added code to stop printer redirection
  131.  
  132. wind.h
  133. ------
  134.         added int national to struct WindRec
  135.                 
  136.  
  137. *********            
  138. * tcpip *
  139. *********
  140.  
  141. tcplibd.make
  142. ------------
  143.         changed {MPW}CLibraries to {CLibraries} (bug fix)
  144.  
  145.  
  146.  
  147.  
  148.  
  149.